Class library for internal usage