Remove not compatible code for WP3.7