Added namespaces to methods and changed implementation of accept-method

Hvad fanden laver du her?