remove Date type cast from "cast" method
rename API extension points to more consistent names