Auto detect override functions