Updating for deprecated methods