Put back '-Yinline-warnings' in scalac parameters
Formatted and refactored code for better readability.