I think I've found a bug in CodeCreator with macros that have no arguments such as Project.Directory. When I try to use it in ProjectMaker, it works fine, of course. However, when I import it into CodeCreator, it gives me the following code:
$instance->RiseMacros("Project.Directory", array(...