adds webpage methods to be extended by other plugins