Update some aliases and make g function work