Fixed declared class in function definition