Fix errors and add WPStyleGuide method