#266 Removed deprecated function