Adding proper namespaces to Repository methods, stubbing in subscribe hooks