Remove warnings for already defined methods