Duplicate methods causing fatal error