Fix code convention for method