Added method class to url routing