Add support for g* and g# (#7)