Fix overrides methods to prevent segmentation fault.

Me and @ran81 run over this error when installing on our local environment.