changed deprecation notice to '@deprecated  4.0'