Import some methods; Take helpers out of module namespace; Improve render_attribute method