Add static methods; swap bool for boolean types.