Simplified for the time being.
Added yasnippet.