Make ruby syntax warning free. Closes #22