Add annotations on findFirst and findLast method.