Adds afterInit option to specify function that should fire after _init() method.