Revert apparently accidental changes in custom/

This reverts commit a9111488e4945a29b8afa9a4eab12ee2e6fc9a0e, which appears to be a mistake. See comments at that commit.