Style fixes and removal of unused imports in soc.logic.models modules.