Removed Deprecated method usage