Enabled strict checks and fixed code to comply.