Refactoring serializable closure.
Enable snake_case accessing of relations. Closes #1191.