version 0.4.2, new methods, extend for directive