Implemented, tested and documented block. Closes #231.