Added WP prefix in front of everything to make it more library-like