Fixed several issues with generics usage.
Renamed priority annotation for avoiding confusion with EE priority.