Moved declarations to allow WP8 to build