Merged type and method declaration into one.