I am not sure we can get rid of these methods.  Aren't these the ones that are called by the handlers.  `check_kernel_id` is needed as it translates errors into HTTP return codes.  Also we need to do the `delete_mapping_for_kernel`.  Am I missing something?