Fix for some warnings that happened because inheriting classes didn't implement methods with the same signature as parent.