Activated lint during compilation and fixed type safety warnings