Instead of module, use parent class

Going to make the implementation easier.