Added namespaces to methods and changed implementation of accept-method