Clean up Elixir code