Duplicate method declaration fix