Stored proc class