Turned the constant into a separate "enumeration" class, better for the user; changed the documentation accordingly, too.