1. Missing docblock
2. Settings must not be passed by reference