Adds functionality to send in a namespace to the Related class