:before and :after now take lambdas too