Add deprecated methods to preserve backwards compatibility