if ( _.includes( routeEndpoint.methods, 'GET' ) ) {

                    // Add any non empty args, merging them into the defaults object.
                    if ( ! _.isEmpty( routeEndpoint.args ) ) {