Moved 'wp' namespace definition to instance variable so that it can be changed easily in one location.
Removed extraneous namespace definition.