Fixes bug regarding requiring one file from two classes