Fixed duplicate method declaration error