Specialized the return type in Rhino bean