Added classmap support.