Added support for STUDY structures