Moved creation of pseudo object into form function