Use WP_error instead of Exception, formatting, Docblocks