Adds custom rest endpoints support