feat: Marked member functions as const if possible

Signed-off-by: Sebastian Niemann