Cleaned up check library, eg. removed all unused files.