Switched bool to boolean for TS 0.9.1