Using package constants instead of globals.