wrapper for registration blocks