add support for @PreLoad and @PostLoad