Fixed incorrect classname parameter and doctrine mapping