Added ability to override accept and method