prevent classes from being copied