Moved inclusion of Constants.rb to BaseFunctions