Simplified emulation of some features
Added function source style feature emulation