renamed export symbol to :register, added documentation