Inheritance now working.