Is there a way to easily convert functions into an extension?

see this thingy