Adds support for creating credit lines.

Does what it says on the tin.