Fixed inheritance.