Added basic function support.