Merge of accepted features

See previous commit messages.