Implemented basic check for entity and quality. Closes issue #27.