Refactor attributes_for_sfdb.
Merge pull request #51 from olvap/master

Refactor attributes_for_sfdb.