Fixes #13 and closes #13

Child class cannot override parent class method type.