Issue #2365705 by mcdruid: Add end addtogroup hooks to entity.api.php