Allow these methods to be subclassed

Writing WordPress-specific implementations for my project for max compat