Implement fun. Refactored module:function things.