Fix docs
BaseRecurrent becomes a brick
Add mask to the attention mechanism