reworked _getFunction, added __dir__ overload, convert util function and more