Taking advantage of inheritance to specify parallel object behavior