Added className and position options