enhanced decorator functionality.