fixes #43. Adding registration to headeranon file