Adding method to separate package and class names