Allowing property type in annotations