Removed log statement.
Began abstraction.