Add oop inheritance