Refactoring dock block for PBC class loader