added invokeifdefined service
added more properties for the basemixin