TODO: mark all const functions as const;