Add entity_type parameter to info hook, update docs.