removed annotation type cast exception, because it can no longer be observed at runtime