Move check methods to separate file.
More robust check for object-check.php.
Add unit tests for checks.