Fixing black errors in Keystone