Removed needless getBasePath() method.