Typed References and OOP Operations and Methods for PostgreSQL