Use annotated type for apply