Readded import of custom functionality.

Accidentally removed.