allow stub to accept blocks