local: Move constant to Library class

Related to #833