Removed deprecated method.