merge classes in the same namespace, add a fake method for testing