Added required parts to make a functioning major mode