Refactor Grape::Endpoint#initialize