Adding accepts method.