Changing init back to class definition instead of defined type to resolve inheritance conflict