Declare function for ash commands

Also removed not useful bindings which are available in the
micro state.