Added functionality to add anonymous functions as plugins
Added support for magical get calling ($class->magical_var -> $class->__get('magical_var') in template