Created annotation classes to symfony 2.1 compatibility