Using Function objects instead of eval for cleaner Facade code