Added support for command line functions. Functions are declated using a reflected attribute.