Make this a proper gem.