add colourise helper method and checks in initialize method of registry refClass